import request from '@/utils/request'
// 添加商品-灯
export function add(data) {
  return request({
    url: '/settle/manager/goods/light/add',
    method: 'post',
    data
  })
}

// 修改商品-灯
export function edit(data) {
  return request({
    url: '/settle/manager/goods/light/modify',
    method: 'post',
    data
  })
}


// 灯列表
export function list(data) {
  return request({
    url: '/settle/manager/goods/light/list',
    method: 'post',
    data
  })
}



// 商品-灯上下架
export function upAndDwon(data) {
  return request({
    url: '/settle/manager/goods/light/up/down',
    method: 'post',
    data
  })
}


// 获取商品-灯详情
export function detail(data) {
  return request({
    url: '/settle/manager/goods/light/dtl',
    method: 'post',
    data
  })
}

// 获取商品-灯详情
export function del(data) {
  return request({
    url: '/settle/manager/goods/light/del',
    method: 'post',
    data
  })
}


export function importLight(data) {
  return request({
    url: '/settle/manager/goods/light/import',
    method: 'post',
    data
  })
}